From: Debian Qt/KDE Maintainers Date: Sat, 12 Apr 2025 17:38:06 +0000 (+0200) Subject: cross X-Git-Tag: archive/raspbian/6.13.0-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ccdbc825396e15cdf0df0da9a762b316c2b2abdb;p=kf6-knewstuff.git cross Gbp-Pq: Name cross.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index eb6d0a9..4b57942 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,8 +63,12 @@ set_package_properties(KF6Syndication PROPERTIES option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") - -cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF) +if (CMAKE_CROSSCOMPILING) + set(BUILD_DESIGNERPLUGIN_DEFAULT OFF) +else() + set(BUILD_DESIGNERPLUGIN_DEFAULT ON) +endif() +option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ${BUILD_DESIGNERPLUGIN_DEFAULT}) add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")